<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script>
        // == > >= < <=

        // === 会判断类型和值  ==只判断值

        var inum01 = 123;
        var snum01 = "123";

        if (inum01 === snum01) {
            alert("相等");
        } else {
            alert("不相等");
        }
    </script>
</head>

<body>

</body>

</html>